#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>

namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QWidget *parent = 0);
    ~Dialog();

    void *m_pCapHandle;
    bool m_bStartRec;

    void* m_pPushHandle;

    int m_nPlayerChannel;

    unsigned char m_sps[100];
    unsigned char m_pps[100];
    long m_spslen;
    long m_ppslen;

    void save_bmp(char* pData, int nLen, const char* strName);

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_5_clicked();

    void on_pushButton_6_clicked();

    void on_pushButton_7_clicked();

private:
    Ui::Dialog *ui;
};

#endif // DIALOG_H
